<?php

namespace App\Models;

use App\Library\Models\Entity;
use App\Library\Traits\Orm\ShopUserOrmTrait;
use Illuminate\Database\Eloquent\SoftDeletes;

class ShopUserModel extends Entity
{
    use SoftDeletes, ShopUserOrmTrait;

    protected $table = 'shop_user';
    
    protected $primaryKey = 'user_id';
    
    protected $fillable = [
        'user_id',
        'user_status',
        'user_type',
        'user_sex',
        'user_main_id',
        'user_name',
        'user_mobile',
        'user_avatar',
        'user_password',
        'user_nickname',
        'user_shop_name',
        'user_shop_status',
        'user_shop_time',
        'user_shop_business_license_img_id',
        'user_delete_flag',
        'user_applet_order',
        'user_peer_power',
        'user_secret',
        'user_province',
        'user_city',
        'user_county',
        'user_note',
        'user_login_device',
        'user_login_device_time',
        'agent',
        'invite_code',
        'is_system',
        'created_at',
        'updated_at',
        'add_at',
        'deleted_at'
    ];
}
